// ******************************************************************************
// Copyright     :  Copyright (C) 2020, Hisilicon Technologies Co. Ltd.
// File name     :  hva_sm23_c_union_define.h
// Project line  :  Platform And Key Technologies Development
// Department    :  CAD Development Department
// Author        :  xxx
// Version       :  V100
// Date          :
// Description   :  The description of xxx project
// Others        :  Generated automatically by nManager V5.1
// History       :  xxx 2020/04/28 10:26:56 Create file
// ******************************************************************************

#ifndef HVA_SM23_C_UNION_DEFINE_H
#define HVA_SM23_C_UNION_DEFINE_H

/* Define the union csr_disp_ecam_daw0_addr_u */
typedef union {
    /* Define the struct bits */
    struct {
        unsigned int disp_ecam_daw0_pcie_dev_id : 8; /* [7:0] */
        unsigned int disp_ecam_daw0_pcie_bus_id : 8; /* [15:8] */
        unsigned int disp_ecam_daw0_size : 5;        /* [20:16] */
        unsigned int rsv_0 : 11;                     /* [31:21] */
    } bits;

    /* Define an unsigned member */
    unsigned int value;
} csr_disp_ecam_daw0_addr_u;

/* Define the union csr_disp_ecam_daw0_did_u */
typedef union {
    /* Define the struct bits */
    struct {
        unsigned int disp_ecam_daw0_did : 3; /* [2:0] */
        unsigned int rsv_1 : 29;             /* [31:3] */
    } bits;

    /* Define an unsigned member */
    unsigned int value;
} csr_disp_ecam_daw0_did_u;

#endif // HVA_SM23_C_UNION_DEFINE_H